import request from '@/utils/request'

// 1. 获取分页信息
export const reqUserInfoHD = (page=1,limit=10,keyword,createTimeBegin,createTimeEnd)=>{
  return request.get(`/admin/user/${page}/${limit}`,{
    params:{
      keyword,
      createTimeBegin,
      createTimeEnd
    }
  })
}

// 2.获取审核用户信息
export const reqUserShowHD = (page=1,limit=10,keyword,createTimeBegin,createTimeEnd)=>{
    return request.get(`/admin/user/${page}/${limit}?authStatus=1`,{
      params:{
        keyword,
        createTimeBegin,
        createTimeEnd
      }
    })
}

// 2.获取用户个人信息
export const reqUserShowInfoHD = (userId)=>{
    return request.get(`/admin/user/show/${userId}`)
}

